package com.fox.application.dto;

import java.math.BigDecimal;
import java.util.List;

/**
 * 下单用例所需的输入参数封装
 */
public class CreateOrderCommand {
    private Long userId;
    private List<OrderItemDto> items;
    // 省略 getter/setter...

    public static class OrderItemDto {
        private Long productId;
        private Integer quantity;
        private BigDecimal unitPrice;
        // 省略 getter/setter...
    }
}